package com.javakademi.tags;

import java.io.IOException;

import javax.servlet.jsp.JspException;
import javax.servlet.jsp.tagext.SimpleTagSupport;

/**
 *
 * @author Bora SAYINER
 * @since Jan 9, 2015 10:51:29 PM
 * @version 1.0
 */
public class MenuItemTag extends SimpleTagSupport {

	private String itemValue;

	@Override
	public void doTag() throws JspException, IOException {
		System.out.println("MenuItemTag");
		MenuTag parent = (MenuTag) getParent();
		parent.addMenuItem(this);
	}

	public String getItemValue() {
		return itemValue;
	}

	public void setItemValue(String itemValue) {
		this.itemValue = itemValue;
	}

}
